using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class MasterPage : System.Web.UI.MasterPage
{
	public string MenuDefaultStyle = "removedlink";
	public string MenuEventoStyle = "removedlink";
	public string MenuPalestraStyle = "removedlink";
	public string MenuPalestranteStyle = "removedlink";
	public string MenuFaleConoscoStyle = "removedlink";

	protected void Page_Load(object sender, EventArgs e)
	{
		if(Page.Request.Url.ToString().Contains("/Home/"))
			MenuDefaultStyle = "activelink";
		else if (Page.Request.Url.ToString().Contains("/Evento/"))
			MenuEventoStyle = "activelink";
		else if (Page.Request.Url.ToString().Contains("/Palestra/"))
			MenuPalestraStyle = "activelink";
		else if (Page.Request.Url.ToString().Contains("/Palestrante/"))
			MenuPalestranteStyle = "activelink";
		else if (Page.Request.Url.ToString().Contains("/FaleConosco/"))
			MenuFaleConoscoStyle = "activelink";
	}
}
